<template>
  <view class="card-title flex">
    <text>{{ title }}</text>
    <u--image
      src="/static/home/star.png"
      mode="aspectFit"
      width="24rpx"
      height="24rpx"></u--image>
  </view>
</template>

<script>
export default {
  props: {
    title: {
      require: true,
      type: String,
    },
  },
};
</script>

<style lang="scss">
	.card-title{
		font-size: 28rpx;
		font-weight: 500;
		color:#000;
		padding-bottom: $pd;
	}
</style>